﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DDD4Fun.Factory;

namespace DDD4Fun.Strategy
{
    //策略接口不同实现
    public class StraightThrow : IFruitThrowStrategy
    {
        #region IFruitThrowStrategy Members

        public void Throw(IFruit fruit)
        {
            Console.WriteLine("直线扔出来一个" + fruit.name);
        }

        #endregion
    }
}
